from django.urls import path

from apps.users.views import UsernameCountView,MobileCountView,RegiserView,LoginView,LogoutView,UserInfoView,SaveEmailView,EmailVerifyView,ChangePasswordView
urlpatterns = [
    path('usernames/<uname:username>/count/',UsernameCountView.as_view()),
    path('mobiles/<umoblie:mobile>/count/',MobileCountView.as_view()),
    path('register/',RegiserView.as_view()),
    path('login/',LoginView.as_view()),
    path('logout/',LogoutView.as_view()),
    path('info/',UserInfoView.as_view()),
    path('emails/',SaveEmailView.as_view()),
    path('emails/verification/',EmailVerifyView.as_view()),
    path('password/',ChangePasswordView.as_view())
]
